home *** CD-ROM | disk | FTP | other *** search
/ Ham Radio 2000 / Ham Radio 2000.iso / ham2000 / antenna / azproj10 / az_ini.ps < prev    next >
Text File  |  1995-07-19  |  33KB  |  886 lines

  1. %%!PS-Adobe-1.0
  2. %!--------------------------------------
  3. %%Title: az_ini.ps Ver 1.0
  4. %%CreationDate: 18 Jul 95
  5. %AZ_INI.PS v1.0
  6. %
  7. % Is Joe's file az_ini.ps
  8. %
  9. %--------------------------------------
  10.  
  11. % AZ_INI.PS (C) 1994 Joseph Mack NA3T and Michael Katzmann NV3Z/VK2BEA/G4NYV
  12. %
  13. % AZ_INI.PS is free software; you can redistribute it and/or modify
  14. % it under the terms of the GNU General Public License as published by
  15. % the Free Software Foundation; either version 2, or (at your option)
  16. % any later version.
  17. %
  18. % This program is distributed in the hope that it will be useful,
  19. % but WITHOUT ANY WARRANTY; without even the implied warranty of
  20. % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.    See the
  21. % GNU General Public License for more details.
  22. %
  23. % You should have received a copy of the GNU General Public License
  24. % along with az_ini.ps; see the file COPYING. If not, write to
  25. % the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
  26. %
  27.  
  28. %--------------------------------------
  29. % az_ini.PS - Initialisation file for AZ_PROJ.PS
  30. %
  31. % Most of the variables that are customisable in the program are here.
  32. % Unless a variable depends on a previously defined variable the
  33. % order of listing of these variables can be changed to suit yourself.
  34. % Once you get the idea of how to use this file, you can remove comments
  35. % etc, to make a smaller (easier to edit) working file.
  36. %
  37. % Other variables, which require execution of code to determine the
  38. % value of "atom" (1/2000 of page width), are in az_proj.ps.
  39. % These variable can also be changed as you wish.
  40.  
  41. %--------------------------------------
  42. % Dictionaries in Level 1 Postscript devices cannot grow (as they can in
  43. % level 2) on demand. 'userdict' will therefore run out of space, so
  44. % we define our own local dictionary.
  45. %
  46. % DO NOT MOVE THESE NEXT TWO DECLARATIONS UNLESS YOU KNOW WHAT YOU ARE DOING
  47. /az_dict 400 dict def
  48.  az_dict begin
  49.  
  50. %--------------------------------------
  51. /on        true        def
  52. /off    false        def
  53.  
  54. %--------------------------------------
  55. % Options - this first section is for stuff you'll change a lot
  56. % Customising AZ_PROJ
  57. %
  58. % There are two methods "automatic" and "manual"
  59. % You choose the method with /use_automatic_option below.
  60. %
  61. % Just about every variable you want to change is in the "manual" section
  62. % of this file. (The rest, that you probably won't want to change, are
  63. % in the routines in az_proj.ps.)
  64. % In the "manual" section, the variables are grouped according
  65. % to function (eg all QTH variables are together). and these
  66. % variables are loaded as they are read in
  67. % (by the printer or by ghostscript).
  68. %
  69. % As well an "option" array immediately below contains a subset of the
  70. % variables that we think will be the most often changed.
  71. %
  72. % The program will read in both (manual and option) sets of data and if
  73. % variable /use_automatic_option is "on", the main routines in
  74. % az_proj.ps will overwrite the values previously declared in
  75. % the "manual" section.
  76. %
  77. % If you want to use this "option" array to enter things like QTH,
  78. % then make /use_automatic_option "on".
  79. % If you want to manually enter values then make /use_automatic_option "off"
  80. % and go find the variable lat_QTH and change it.
  81. %
  82.  
  83. /use_automatic_option    on def
  84.         %on      initiallise from "options" array
  85.         %off   initiallise from "manual" section
  86.  
  87.  
  88. %
  89. % For a quick start try guessing the changes to be made
  90. % in this array. If you get stuck more hints are below.
  91.  
  92. % The tabbing format and grouping of variables
  93. % one or two to a line is only for your convenience.
  94. % After removing the comments at the end of the line,
  95. % you can reformat this array to 1,2,3..n variables per line.
  96.  
  97. /options
  98. [
  99.         41.6            -72.7        (ARRL HQ) % lat, lon, string, for QTH
  100.     45.0          -90.0        on          % lat, lon (middle of NA), center_offset (here off, using QTH as center)
  101.     250    on                                         % scale, using km/cm (off = degrees),
  102.     off                                                    % landscape (off = portrait, on = landscape)
  103.     on    off                                            % letter grid squares, labels
  104.     off    off                                            % number grid squares, labels
  105.     on    on                                            % compass circumference, compass radial spokes
  106.     on                                                % outer border
  107.     on                                                % DXCC countries by callsign (off = by country name)
  108. ] def
  109.  
  110.  
  111. %--------------------------------------
  112. %Colors
  113. % need to set these up before we initialise colors of map objects
  114.  
  115. % You can print maps on B&W printers just fine.
  116. % Postscript will print each color as some particular grey or other.
  117. % If you want lots of information in a B&W format, you will probably have
  118. % to print several different maps, since B&W with a lot of different
  119. % features will be cluttered.
  120.  
  121.  
  122. %Colors - starter kit, make your own
  123. % RGB values
  124. /white            { 1.0  1.0  1.0  }  def        % white
  125. /blue                { 0.0  0.0  1.0  }  def        % blue
  126. /darkblue        { 0.0  0.0  0.5  }  def        % blue
  127. /green            { 0.0  1.0  0.0  }  def        % green
  128. /darkgreen    { 0.0  0.4  0.0  }  def        % green
  129. /cyan                { 0.0  1.0  1.0  }  def        % cyan
  130. /red                { 1.0  0.0  0.0  }  def        % red
  131. /magenta        { 0.5  0.0  1.0  }  def        % magenta
  132. /brown            { 0.67 0.33 0.0  }  def        % brown
  133. /white            { 1.0  1.0  1.0  }  def        % white
  134. /lightgray    { 0.9  0.9  0.9  }  def        % lightgray
  135. /gray                { 0.5  0.5  0.5  }  def        % gray
  136. /darkgray        { 0.3  0.3  0.3  }  def        % darkgray
  137. /lightblue    { 0.33 0.33 1.0  }  def        % lightblue
  138. /verylightblue    { 0.75 0.75 1.0  }  def        % lightblue
  139. /lightgreen    { 0.33 1.0  0.33 }  def        % lightgreen
  140. /lightcyan    { 0.33 1.0  1.0  }  def        % lightcyan
  141. /lightred        { 1.0  0.33 0.33 }  def        % lightred
  142. /lightmagenta    { 1.0  0.33 1.0  }  def        % lightmagenta
  143. /yellow            { 1.0  1.0  0.0  }  def        % yellow
  144. /purple            { 1.0  0.0  1.0  }  def         % purple
  145. /black            { 0.0  0.0  0.0  }  def
  146.  
  147.  
  148.  
  149. %--------------------------------------
  150. % Manual method (turn use_automatic_option "off" or the values controlled
  151. % by the "options" array will be overwritten)
  152. %--------------------------------------
  153. %Title
  154. % The title will appear across top of page.
  155.  
  156. /Title    ( )    def % needs to be initialised, don't delete this
  157.  
  158. % Example titles, comment these out if not needed.
  159. %/Title    (North America)    def
  160.  
  161. %This title might appear on a map with 200 km/cm as the scale
  162. %/Title    (Jan '95 VHF/UHF Contest - 6m log)    def
  163.  
  164. %This title might appear on a map with 100 km/cm as the scale
  165. %/Title    (Jan '95 VHF/UHF Contest - 432 log)    def
  166.  
  167. %This title might appear on a map with 2000 km/cm as the scale
  168. %/Title    (DXCC countries, 80m CW, 31 Dec 94)    def
  169.  
  170. %--------------------------------------
  171.  
  172. %QTH
  173. % Lat/long are in decimal degrees (not deg/min/sec)
  174. % lat: +ve is north, -ve is south
  175. % lon: +ve is east , -ve is west
  176. %
  177. /lat_QTH    41.6                def    %(real or int)
  178. /lon_QTH    -72.7                def    %(real or int)
  179. /QTH_name    (ARRL HQ)        def    %(string, parentheses are required)
  180.  
  181. % To change the QTH, try one of these triplets (or your own QTH)
  182. %/lat_QTH     0                    def    /lon_QTH    25                    def    /QTH_name            (Africa)    def
  183. %/lat_QTH    0.1                    def    /lon_QTH    0.0                    def    /QTH_name            (Equator)    def
  184. %/lat_QTH    -55                    def    /lon_QTH    160                    def    /QTH_name            (Macquarie Is.)    def
  185. %/lat_QTH    -20                    def    /lon_QTH    120                    def    /QTH_name            (Mid Oceania)    def
  186. %/lat_QTH    89.1                def    /lon_QTH    0.1                    def    /QTH_name            (North Pole)    def
  187. %/lat_QTH    -89.9                def    /lon_QTH    0.0                    def    /QTH_name            (South Pole)    def
  188. %/lat_QTH    -34                    def    /lon_QTH    151                    def    /QTH_name            (Sydney)    def
  189. %/lat_QTH     36                     def    /lon_QTH    140                    def    /QTH_name            (Tokyo)    def
  190. %/lat_QTH     59                    def    /lon_QTH    18                    def    /QTH_name            (Stockholm)    def
  191. %/lat_QTH    -34                    def    /lon_QTH    18                    def    /QTH_name            (Capetown)    def
  192. %/lat_QTH -22.86             def    /lon_QTH    -44.8                def    /QTH_name            (Rio)    def
  193. %/lat_QTH    48.0                def    /lon_QTH    -124.0             def    /QTH_name            (Vancouver)    def
  194. %/lat_QTH    22.0                def    /lon_QTH    -82.0                def    /QTH_name            (Havana)    def
  195. %/lat_QTH    8.0                  def    /lon_QTH    -80.0                def    /QTH_name            (Panama)    def
  196. %/lat_QTH    -27.0             def    /lon_QTH    -108.0            def    /QTH_name            (Easter Is.)    def
  197. %/lat_QTH    -25.0                def    /lon_QTH    -130.0            def    /QTH_name            (Pitcairn Is.)    def
  198. %/lat_QTH    -35.0                def    /lon_QTH    -160.0            def    /QTH_name            (Antipodes of Mediterranian)    def        % interesting view of Europe
  199. %/lat_QTH    52                     def    /lon_QTH    0                        def    /QTH_name            (London)    def
  200. %/lat_QTH    35                    def    /lon_QTH    -90                    def    /QTH_name            (Memphis)    def
  201. %/lat_QTH    41.6                def    /lon_QTH    -72.7                def    /QTH_name            (ARRL HQ)    def
  202. %/lat_QTH    38.92                def    /lon_QTH    -77.05            def    /QTH_name            (Washington DC)    def
  203. %/lat_QTH    38.98847         def    /lon_QTH    -76.58033        def    /QTH_name            (NV3Z Annapolis, FM18rx)    def
  204. %/lat_QTH    39.42933         def    /lon_QTH    -77.42536        def    /QTH_name            (NA3T/N3REQ Frederick, FM19)    def
  205. %/lat_QTH    40.0                def    /lon_QTH    60.0                def    /QTH_name            (Somewhere in Russia)    def
  206. %/lat_QTH    52                     def    /lon_QTH    95                    def    /QTH_name            (Kyzyl)    def
  207.  
  208. %--------------------------------------
  209.  
  210. % Center Offset:
  211. %
  212. % When the center of the map isn't your QTH, the azimuthal projection
  213. % is still made from your QTH, but the map is translated on the page.
  214. % This feature is used if you live on the edge of a continent and want
  215. % the center of the map in the center of the continent.
  216. % Or else or if you want a map of Europe as it looks from your QTH in USA,
  217. % but you only want Europe on the map.
  218. %
  219. % center_offset should be off if using nmea.dat.
  220. % The problem comes about because it's hard to change the center
  221. % of the map half way through after reading the nmea.dat file.
  222. % (it's hard enough to even change the QTH ;-( ).
  223. % Results are unpredictable if center_offset is on.
  224.  
  225.  
  226. /center_offset    off    def        % on: use following lat/lon for center of map
  227.                                                         %off: use QTH for center of map.
  228.  
  229. %example offset position - middle of North America
  230. /lat_center        40.0      def    %(real or int)
  231. /lon_center        -90.0    def        %(real or int)
  232.  
  233.  
  234.  
  235. % To change center of map try one of these
  236. %
  237. %    40    -90    true    % centred on middle of N.A
  238. %    59     18    true    % centred on Stockholm
  239. %   -34    151    true    % centred on Sydney
  240. %   -24    133    true    % centred on Alice Springs (Middle of Oz)
  241. %    47   7    true    % centred on Berne
  242. %   -10    155    true    % centred on Guadalcanal
  243.  
  244. %--------------------------------------
  245. %Scale
  246. %
  247. % mapping scale is the scale you see on the bottom of a real map,
  248. % eg 1cm:100km, or 1cm:15 deg (angle subtended at earth's centre by
  249. % a line along earth's surface). The distance from the equator to pole
  250. % is 10,000km (thanks to Napoleon Bonaparte) or 90 deg.
  251. % The radius of the map, on an 'A' size or A4 page, is about 10cm. Hence -
  252. % For whole world use 2000 kms/cm
  253. % For whole world on half a page use 4000 kms/cm
  254. % For continent use 400 kms/cm
  255. % 200 kms/cm will fit 2 grid squares across at the equator
  256. % For general VHF/UHF DX use 50 kms/cm
  257. %
  258. % The alternative scaling is in degrees of solid angle between points,
  259. % subtended at earth's centre as a scale. The earth is 180 degrees
  260. % from center to edge (circumference).
  261.  
  262. /scale_type        on        def    %on : use map_scale_deg as km/cm
  263.                                                 %off: use map_scale_deg as deg/cm
  264.  
  265. /map_scale_deg        200        def    %(real or int)
  266.  
  267.  
  268. %--------------------------------------
  269. %Orientation
  270. /landscape        off        def    %on : landscape
  271.                                                 %off: portrait
  272.  
  273. %--------------------------------------
  274. %Grid squares and labelling
  275. % These allow drawing of grid square borders
  276. % and labelling of grid squares with their grid locators.
  277. % If labels are "on" the grid locator label will be put in
  278. % the middle of the grid square
  279. % Letter squares are 20x10 deg (eg FM)
  280. % Number squares are 2x1 deg (19 of FM19)
  281. % If squares are on, the border of the squares will be drawn.
  282.  
  283. /draw_letter_square_borders    off    def    %(on/off)
  284. /draw_letter_square_labels    off    def    %(on/off)
  285. /draw_number_square_borders    off    def    %(on/off)
  286. /draw_number_square_labels    off    def    %(on/off)
  287.  
  288. %Labelling pattern
  289.  
  290. /label_all_number_squares_in_a_letter_square     off def
  291.             % determines labelling pattern of number_squares
  292.             % on/true - label all number_squares
  293.             % off/false - label number squares only on the border
  294.                         %(ie outer edge) of a letter square
  295.                         %(setting to "off" gives less clutter)
  296.  
  297. /number_square_edges_dashed    on def
  298.             % drawing pattern for edges of number squares
  299.             % on/true - dashed, off/false - continuous line
  300.             % (on makes number squares less dominant than letter squares - as they should)
  301.  
  302.  
  303. % number of letter grid-squares north, south, east & west
  304. % of your own letter square that will be filled with number_squares
  305. % Example:
  306. % if you live in grid locator FM,
  307. % and if the values below are 1,1,0,1
  308. % then FN (grid square to north), FL (south), and EM (west)
  309. % will have number squares drawn on them, but GM (east) will not.
  310.  
  311. /grid_locator_number_squares_northern_limit    1 def
  312. /grid_locator_number_squares_southern_limit    1 def
  313. /grid_locator_number_squares_eastern_limit    0 def
  314. /grid_locator_number_squares_western_limit    1 def
  315.     % Note: If all are 0, only your own local letter grid square will be filled.
  316.     % to turn off ALL number squares (including your own)
  317.     % set "/draw_number_square_borders" to off
  318. %
  319. %bug fix: if QTH is exactly on a letter_square edge (say on 60.000 deg E meridian)
  320. % then the routine as originally written will produce no grid squares
  321. % to E or W of the QTH. In this case I've forced the routine to produce
  322. % number squares on both sides. To save yourself this harrowing complication,
  323. % you could always put in a lat/lon like (0.001, -0.002), instead of (0,0).
  324. % There are also occasional problems with QTH's on number grid square
  325. % boundaries (eg 38N). Until that's fixed, use 38.01 say.
  326.  
  327. /grid_locator_letter_color            /lightred        cvx def
  328. /grid_locator_number_color            /lightblue    cvx def
  329. %Note these colors determine both the color of the labels and the grid lines
  330. /shade 1.0 def    % reduce luminance of (ie darken) grid boundaries
  331.                                 % 1.0 - same color as grid labels
  332.                                 % 0.66 - darker
  333.                                 % 0.0 - black
  334.  
  335. % factor for increased thickness of the equator and the UTC lines
  336. % 1 for no emphasis
  337. /grid_line_emphasis 4 def
  338.  
  339. %--------------------------------------
  340. % lines other than 10,20 deg lines for grid locators
  341. % if for instance you want every 15 deg for time zones
  342. % I have coded this to turn off if the grid_locator letters are on
  343. % so that you won't have labels corresponding to a different spacing
  344. /draw_alternate_lat_lon_spacing off def     %on - use numbers below
  345.                                                                                 %off - use grid_locator spacing
  346. /alternate_lat_spacing    15 def
  347. /alternate_lon_spacing    15 def  %15 deg = 1hr
  348.  
  349. %--------------------------------------
  350. /draw_greyline     on    def    % day/night border, ie terminator
  351. %I know the sun is red, but everything else is red or blue
  352. /greyline_color    /green    cvx def
  353.  
  354. % the greyline info will be derived first from sun_lat, sun_lon
  355. % if the date/time is also defined (ie not commented) then
  356. % the sun_lat, sun_lon will be calculated from them,
  357. % overwritting the values from sun_lat, sun_lon
  358. %
  359. % date/time can be read in from the nmea.dat file generated from your
  360. % gps receiver. The gps data will overwrite the date/time info entered here.
  361. %
  362. % ie priorities for calculating sun_lat, sun_lon
  363. % 1. gps info from NMEA.DAT file
  364. % if not found then
  365. % 2. date/time entered here
  366. % if not found then
  367. % sun_lat, sun_lon entered here.
  368.  
  369. % date and time (UTC/Zulu)
  370. 03 /month     exch def % (1..12)
  371. 22 /day            exch def % (1..31)
  372. 6 /hour         exch def % (0..23)
  373. 00 /min         exch def % (0..59)
  374.  
  375. %    lat_QTH /sun_lat exch def
  376. %    lon_QTH /sun_lon exch def
  377. -16.5364    /sun_lat exch def %(-23.5..23.5)
  378. 165.0    /sun_lon exch def %(-180..180)
  379.  
  380.  
  381.  
  382. %--------------------------------------
  383. %Compass:
  384.  
  385. % to establish direction from your QTH, a compass is
  386. % centered on your QTH (even if QTH is center offset)
  387.  
  388. /draw_compass_circumference    on    def    %(on/off) draw compass circumference
  389. %if draw_compass_circumference is off and draw_compass_spokes    in on
  390. % then the spokes will go to the antipodes (see below)
  391. /draw_compass_spokes            on    def    %(on/off) draw compass spokes
  392. /compass_spoke_interval     15     def    %(int, degrees between spokes)
  393. /compass_label_increment     15     def    %(int, degrees between labels)
  394.     % the spacing of major radial compass spokes (lines) is 30 deg
  395.     % (see comment in routine "\draw_spokes") and are drawn right onto the QTH.
  396.     % the spacing of minor radial compass spokes (lines) is given by
  397.     % compass_spoke_interval. Suggested values are 10,15 or 45.
  398.     % These minor lines do not go to the center of the compass
  399.     % (ie the QTH) so as not to obliterate the QTH.
  400.  
  401. /compass_spokes_to_antipodes    off def
  402.     % on/true - spokes go beyond compass rose to the edge of the world
  403.     % off/false - compass spokes go only to circumference of compass
  404.     % Note: if compass rose is not drawn, but the spokes are, then
  405.     % spokes go out to antipodes no matter what value is entered here.
  406.  
  407.  
  408.  
  409.  
  410.  
  411.  
  412. %Compass circumference
  413. % The radius of the compass is changed automatically in multiples of
  414. % 1,2,5, to make nice round numbers for scaling. If your QTH is not
  415. % at the center of the page, part of the circumference of the compass
  416. % will/may go off the page. You can fiddle with the code in
  417. % draw_bearing_rose to make the radius smaller. Here is a fiddle
  418. % I've used. Change the number to suit you. The number "0.75"
  419. % here will fit the largest compass that sits inside 3/4 of
  420. % the page rather than the largest compass that sits
  421. % inside the whole page. This allows you some latitude to move
  422. % the center of the page away from the QTH and still have compass
  423. % contained within the page.
  424.  
  425. %/compass_coerce {0.75 mul}    def    % reduce compass circle size
  426. /compass_coerce {} def             % the normal size
  427.                              % pick one by commenting out the other
  428.  
  429. /compass_color                                    /yellow            cvx def
  430.                                                                 % yellow looks OK in daylight,
  431.                                                                 % but vanishes under incandescent light
  432. /compass_label_color                        /black            cvx def
  433.                                                                 %labels for directions (30, 60, 90... etc)
  434.  
  435. %--------------------------------------
  436. /draw_outer_border        on def
  437.                                     % (on/off) border at the antipodes
  438.                                     % on is useful for maps of the whole world
  439.                                     % for maps of a smaller area, the border is
  440.                                     % still calculated but it is off the edge of the map
  441.                                     % (ie you can leave it on all the time if you like)
  442.  
  443. /outer_border_color        /black            cvx def
  444.  
  445.  
  446. %--------------------------------------
  447. /DXCC_callsigns    on  def        % on: dxcc countries displayed as callsign
  448.                                                     %off: dxcc countries displayed as country name
  449.  
  450. /circle_dxcc         off    def        % on: print calls long concentric circles about QTH
  451.                                                     %off: print calls along horizontal straight lines
  452.  
  453. /dxcc_color                                            /black            cvx def
  454. /dxcc_special_color                            /green            cvx def
  455. /dxcc_special_color_2                        /red                cvx def
  456.  
  457. /dxcc_bands_plotted
  458. % Frequency mask for selecting dxcc countries to be displayed.
  459. % If you want to display only the dxcc countries that you've
  460. % worked on 80m CW, then uncomment 80 in the array below and CW in the
  461. % array below that. If you want to display countries that have been worked
  462. % on 80 and and the countries that have been worked on 40m,
  463. % then remove the "%" infront of both 80 and 40.
  464. % Leave all other numbers with a "%" as the first character in the line.
  465. %
  466. % You can add frequencies and modes. Eg if we get back the bands above 200m,
  467. % say 320m, and can do spark mode on it again, then
  468. % add 320 to the band options below
  469. % and (SPARK) to the mode options below.
  470. % When you make a SPARK contact on 320m with a
  471. % country add 320 SPARK to the dxcc.dat file.
  472. %
  473. % You can use numbers in any way you want here, just as long as it's
  474. % consistent with the use and numbering in the dxcc.dat files.
  475. % A "10" in the following array will flag all of the entries in
  476. % the dxcc.dat file with "(10 xxx)" in them.
  477. % What the 10 means is up to you - it can be 10GHz, 10m or 10MHz.
  478. %
  479. % This array can have any number of integer elements (including none).
  480. % Only one element allowed per line, lines in any order.
  481. % Add, remove or comment (put "%" in front of number) out elements to suit.
  482. [
  483. %160
  484. %80
  485. %75
  486. 40
  487. %30
  488. %20
  489. %15
  490. %12
  491. %10
  492. %6
  493. %2
  494. ] def
  495.  
  496.  
  497. /dxcc_modes_plotted
  498. % Mode mask for selecting dxcc countries to be displayed.
  499. %
  500. % If you want to display only the dxcc countries that you've
  501. % worked on 80m CW, then uncomment CW in the array below, and 80 in the
  502. % array above. If you want to display countries that have been worked on
  503. % CW and the countries that have been worked on SSB,
  504. % then remove the "%" infront of both CW and SSB.
  505. % Leave all other numbers with a "%" as the first character in the line.
  506. % Note the spelling is case sensitive.
  507. %
  508. % The mode result is AND'ed with the band result.
  509. % ie if you ask for 80 CW you will get only those
  510. % countries that you've worked on 80 CW.
  511. % If you want to list all countries that you've worked on 80 or on CW,
  512. % then you'll either have to fiddle a bit or write the code yourself
  513. % (and send it to us as well).
  514. % If you want the countries that you've worked on CW, on any band,
  515. % then you'll have to uncomment all the band entries in the
  516. % dxcc_bands_plotted array above.
  517. %
  518. % This array can have any number of elements (including none).
  519. % Only one element allowed per line, lines in any order.
  520. % Add, remove or comment (have "%" in front of number) out elements to suit.
  521. [
  522. (CW)
  523. %(SSB)
  524. %(AM)
  525. %(FM)
  526. %(SWL)
  527. %(RTTY)
  528. %(SSTV)
  529. %(packet)
  530. %(EME)
  531. %(aurora)
  532. %(MS)
  533. %(Es)
  534. %(you can add any string you like to match the corresponding string in the dxcc.dat file, even a string as long as this, as long as you reproduce it exactly in the dxcc.dat file)
  535. ] def
  536.  
  537. %--------------------------------------
  538. %Geographical Features and Drawing States within countries
  539. % Some maps are cluttered by unnecessary info.
  540. % E.g. When doing a whole world map centered on North America,
  541. % the US states and Canadian Provinces produce a lot of clutter
  542. % here you can turn selected things on or off
  543. %
  544. /state_borders_dashed            on def    %  on: state borders are 1-3 pattern of dashes
  545.                                                                     % (see Postscript book for explanation)
  546.                                                                     % off: states borders are straight lines
  547.                                                                     % (and they look like country borders)
  548.  
  549. /draw_coast_lines                    on def    % you can turn off the coast lines
  550. /draw_country_borders            on def  % and all these things here
  551. /draw_canadian_provinces    on def
  552. /draw_us_states                        on def
  553. /draw_islands                            on def
  554. /draw_lakes                                on def  % suggested by beta tester Brian Derx
  555. /draw_rivers                            on def
  556. /draw_australian_states        on def
  557.  
  558.  
  559. %--------------------------------------
  560. % Drawing circles around QTH at defined distances
  561. % Turning this on, turns off the default compass circumference
  562. % (you can still have the spokes from the compass to give direction)
  563.  
  564. /distance_circles        off def
  565. %
  566. %
  567. /distances_plotted %( in km)
  568. % Possible distances might be -
  569. %    1100km for E layer scattering (aurora, Es, FAI)
  570. %    900km for good 2m conditions on a contest
  571. %    700km for good 432 conditions on a contest
  572. % Maybe you just want a bull's eye drawn around your QTH at 200 km intervals
  573. % This array can have any number of integer elements (including none).
  574. % Only one element allowed per line
  575. % Add, remove or comment (have "%" in front of number) out elements to suit.
  576. % Circles are drawn in the order listed in the array.
  577. % The last distance circle in this array will have compass bearings
  578. % and labels drawn on it (so make it the circle of largest radius)
  579. [
  580. 100
  581. 200
  582. %300
  583. 400
  584. %500
  585. 600
  586. %700
  587. 800
  588. %900
  589. %1000
  590. %1100
  591. %1200
  592. ] def
  593.  
  594. %--------------------------------------
  595. %Beacons
  596.  
  597. /beacon_font                /Helvetica def
  598. /beacon_font_color     /black cvx def
  599. /beacon_color                {beacon_font_color}    def    % color for standard beacons
  600.  
  601. %Try (ie uncomment) this scheme when using special_beacons on color printers
  602. /beacon_special            {beacon_special_2} def
  603.                                 % special beacons are drawn in the color beacon_special_color
  604. /beacon_special_color    /red cvx    def
  605.  
  606. %Try (ie uncomment) this scheme when using special_beacons on B/W printers
  607. %/beacon_special        {beacon_special_1} def
  608.                                 % special beacons are drawn in the center of cross hairs
  609. %/beacon_special_color    {beacon_font_color}    def
  610.  
  611.  
  612. /beacons_plotted
  613. % Beacons are turned on and off by the MHz in the frequency of the beacon
  614. % in beacon.dat. If the numbers "144" and "1296" are in this array,
  615. % then all beacons of freq 144.xxx and 1296.xxx will be plotted.
  616. % This array can have any number of integer elements (including none).
  617. % Only one element allowed per line, lines in any order.
  618. % Add, remove or comment (put "%" in front of number) out elements to suit.
  619. [
  620. 50
  621. 51
  622. 52
  623. %70
  624. %71
  625. 144
  626. %222
  627. %432
  628. %902
  629. %903
  630. %926
  631. %1295
  632. %1296
  633. %2304
  634. %2312
  635. %3456
  636. %5759
  637. %5760
  638. %10248
  639. %10256
  640. %10265
  641. %10368
  642. %24192
  643. ] def
  644.  
  645. %--------------------------------------
  646. /grid_bands_plotted
  647. % grids worked are plotted according to the MHz in the frequency in
  648. % the file grid.dat. If the numbers "144" and "1296" are in the
  649. % array grid_bands_plotted, then all grids worked of freq 144MHz
  650. % and 1296MHz will be plotted (colored/shaded).
  651. % This array can have any number of integer elements (including none).
  652. % Only one element allowed per line, lines in any order.
  653. % Add, remove or comment (have "%" in front of number) out elements to suit.
  654. [
  655. %50
  656. %70
  657. %72
  658. 144
  659. %145
  660. %146
  661. %147
  662. %222
  663. 432
  664. %435
  665. %902
  666. %903
  667. %926
  668. %1295
  669. 1296
  670. %2304
  671. %2312
  672. %3456
  673. %5759
  674. %5760
  675. %10248
  676. %10256
  677. %10265
  678. %10368
  679. %24192
  680. ] def
  681.  
  682.  
  683. %--------------------------------------
  684.  
  685. %Repeaters
  686. %/repeater    false    def         % need to define this
  687. /repeater_font                    /Helvetica def
  688. /repeater_font_color        /black cvx def
  689. /repeater_color                 /black cvx def    %color for repeater symbol
  690.  
  691.  
  692. %Try (ie uncomment) this scheme when using repeater_special on color printers
  693. /repeater_special            {repeater_special_2} def
  694.                                 % special repeaters are drawn in the color repeater_special_color
  695. /repeater_special_color    /red cvx    def
  696.  
  697. %Try (ie uncomment) this scheme when using special_repeaters on B/W printers
  698. %/repeater_special        {repeater_special_1} def
  699.                                 % special repeaters are drawn in the center of cross hairs
  700. %/repeater_special_color    {repeater_font_color}    def
  701.  
  702.  
  703. /repeaters_plotted
  704. % repeaters are plotted according to the MHz in the frequency in the
  705. % repeater.dat file.
  706. % If the numbers "147" and "441" are in the array repeaters_plotted, then
  707. % all repeater of (transmitting) freq 147.xxxMHz and 441.xxxMHz will be marked.
  708. % This array can have any number of integer elements (including none).
  709. % Only one element allowed per line, lines in any order.
  710. % Add, remove or comment (put "%" in front of number) out elements to suit.
  711. [
  712. %145
  713. 146
  714. 147
  715. %224
  716. %440
  717. 440
  718. ] def
  719.  
  720.  
  721. %--------------------------------------
  722. %Things that don't have their own home
  723.  
  724. /annot_color                                        /green            cvx def
  725. /worked_grid_square_color                /verylightblue    cvx def
  726.  
  727. %--------------------------------------
  728. %Rover and Mountain stuff
  729.  
  730. /mountain_font_color                        /black cvx def
  731. /mountain_symbol_color                     /black cvx def
  732. /mountain_symbol_special_color     /red cvx def
  733.  
  734.  
  735. /rover_font_color                                /lightblue    cvx    def
  736. /rover_symbol_color                         /lightblue cvx def
  737.  
  738. % bearing distance lines to ROVER, MOUNTAIN etc
  739. %
  740. % some data types come in 2 flavors eg
  741. % rover:...
  742. % and
  743. % ROVER:...
  744. %
  745. % the lower case is plain vanilla, while the upper case is given
  746. % special attention. In the case of ROVER and MOUNTAIN, bearing
  747. % and distance information can be plotted as well as a line from
  748. % QTH to the ROVER or MOUNTAIN. However you don't have to plot
  749. % all three of these pieces of information. Here you can turn them
  750. % off one by one.
  751.  
  752. /draw_distance_bearing_lines    on    def
  753.         %on - line is drawn from QTH to ROVER or MOUNTAIN
  754.         %off - lines is not drawn
  755.  
  756. /show_bearing                                 on def
  757.         %on - bearing to ROVER or MOUNTAIN is put on the line
  758.         %off - line is not labelled
  759.  
  760. /show_distance                                on def
  761.         %on - distance to ROVER or MOUNTAIN is put on the line
  762.         %off - line is not labelled
  763.  
  764. %--------------------------------------
  765. %When to plot the grid squares
  766.  
  767. %initialise saying that we haven't drawn the grid squares
  768. /grid_square_labels_on_paper off def
  769.  
  770. %The order in which files are sent to the printer has some consequences
  771. %(see README.AZP) since objects are printed in the order generated by
  772. %the code. Hence objects printed later cover objects printed earlier.
  773. %Thus we recommend sending the grid.dat file (solid color)
  774. %for worked grid squares first, followed by the maps (.wdb files)
  775. %(lines and, if the lakes are filled, solid colors), followed by the text
  776. %and symbols (.dat files).
  777.  
  778. %Somewhere in here the grid square borders and labels will be printed.
  779. %These are generated by the program and not from .dat files.
  780. %The program needs some way of determining when to print the grid square
  781. %borders. Since the program can't determine which files you may or may not
  782. %be going to send it, a mechanism for triggering the drawing of the
  783. %grid squares and labels is needed that doesn't depend on sending
  784. %any particular .dat or .wdb file.
  785. %
  786. %There are some asthetic concerns here as drawing the lat/lon lines
  787. %before the lakes, will show a lat/lon line going under a lake.
  788. %However if you draw the lat/lon lines after the map feature, the
  789. %state/country borders that are on major lat/lon lines will be
  790. %covered by the lat/lon lines. Whatever way you do it, something
  791. %will be in the wrong order.
  792. %
  793. %Here you get to choose when to draw the grid square labels and borders.
  794. %You can have grid square borders and labels, compass -
  795. %a)before the maps (but after the grid.dat file)
  796. %b)before the dat files (repeater, dxcc...) (but after the maps)
  797. %c)after all the input (.wdb, .dat) files have been processed (ie at the end).
  798. %
  799. %The program will print the grid squares and labels on the first
  800. %condition satisfied. Pick from the following.
  801. %
  802. %Any of these following choices will look OK if lake_fill is off.
  803. %If lake_fill is on, then choose false/true or false/false for
  804. %the next two variables.
  805. %
  806. /draw_grid_square_borders_and_labels_before_maps     false def
  807.         % true - draw on reading the first line of any map
  808.         % (ie when first read .wdb formatted info)
  809.         % (OK to be true if lake_fill off)
  810.         % false - ignore map information in making decision to
  811.         % draw grid square borders and labels
  812.  
  813. /draw_grid_square_borders_and_labels_before_regular_dat_files    true def
  814.         % true - draw on before plotting any dat file except grid.dat
  815.         % (OK to be true if lake_fill on)
  816.         % false - ignore dat file information in deciding when to
  817.         % draw grid square borders and labels
  818.  
  819. %If both of these are false, the program will draw the grid square
  820. %borders and labels as it exits (ie after all the input files
  821. %have been processed).
  822.  
  823. %--------------------------------------
  824.  
  825. /feature_color
  826.     [
  827.     { black } % coast lines
  828.     { black }    % country borders
  829.     { black }    % Canadian Provinces
  830.     { black }    % US State boundaries
  831.     { black }    % islands
  832.     { cyan  }    % lakes
  833.     { green }    % rivers
  834.     { black }    % Australian state boundaries
  835.     ] def
  836.  
  837. %--------------------------------------
  838. /lake_fill        on def
  839.     % on/true - fill lakes with designated lake color
  840.     % off/false - describe only outline of lakes, body of lake is white
  841.  
  842.  
  843. % if lake_fill     on, color of lake edge
  844. % if lake_fill off, lake edge will be colored with feature_color for lake
  845. %/lake_edge_color {feature_color lake 1 sub get exec} def    %same as lake
  846. /lake_edge_color {black} def                            %pick your own
  847.  
  848. %--------------------------------------
  849. % Execution is sloooow.
  850. % If you're calculating a map with ghostscript on a computer, you can
  851. % use these variables to reassure yourself that something is actually
  852. % happening and your computer has not locked up.
  853.  
  854. %    You can have these "on" if you have a launching window
  855. %(ie a window which is different to the window displaying the map)
  856. %to display these messages. You HAVE a lauching window in multitasking
  857. %systems like Windows, DesqViewX, X-window. You DO NOT have a lauching
  858. %window in MSDOS (where these messages will write all over your output)
  859. %or on a postscript printer (where the messages will come out on
  860. %subsequent pages). For these latter systems use "off".
  861. %
  862.  
  863.  
  864. /send_notices        on     def
  865.                             % stdout will get notifications of progess
  866.                             % On a computer, stdout is the screen.
  867.                             % On a postscript printer stdout goes to extra pages
  868.                             % following the wanted output.
  869.  
  870. /verbose            on     def
  871.                             % output id of each path (small time penalty)
  872.                             % this is fine on a screen, when using ghostscript
  873.                             % but not useful on a real postscript printer,
  874.                             % where the notices may appear on subsequent
  875.                             % pages of error output.
  876.  
  877.  
  878. %--------------------------------------
  879. userdict
  880. /#copies 1 put
  881.                             % a postscript command, number of copies to be printed.
  882.                         % the printer doesn't have to re-calculate everything,
  883.                             % & so subsequent pages are fast.
  884. %--------------------------------------
  885. %--------------------------------------az_ini.ps
  886.